-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(causalConsistency): adding an example test for causal consistency #1651
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
examples should all live in the examples_tests.js
file
52cbc30
to
d38294b
Compare
d38294b
to
5247e86
Compare
This test is now in |
@@ -1,6 +1,7 @@ | |||
'use strict'; | |||
|
|||
var assert = require('assert'); | |||
const expect = require('chai').expect; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the rest of the file be updated to use expect
or should this test use the same format as the rest of the tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that would be a bit much for just this PR, would make it harder to read. Agreed that we should eventually do this in the future though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not a big deal so go ahead and merge as is, but per my in-line comment, it seems easier to just use the existing assert library rather than do this one test in a different way than the others.
Fixes NODE-1262
NOTE: the version filter means the test isn't currently being run :(